package com.bishe.sevice.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bishe.dao.HelpDao;
import com.bishe.domain.Help;
import com.bishe.sevice.IHelpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HelpServiceImpl extends ServiceImpl<HelpDao, Help> implements IHelpService {
    @Autowired
    private HelpDao helpDao;

    @Override
    public boolean delete(Integer id){
        return helpDao.deleteById(id)>0;
    }
}
